<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>
<%@ page import="com.Interface.util.StringUtil"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ StringUtil.getHost()+ ":" + StringUtil.getPort()
			+ path + "/";
			
    String keyword = request.getParameter("keyword");
%>
<!DOCTYPE html>
<html lang="en">
<head>
<base href="<%=basePath%>">
<%@ include file="common/top.jsp"%>

</head>
<body class="gray-bg top-navigation">
<input id="keyword" name="keyword" value="<%=keyword%>" type="hidden">
    <div id="wrapper">
        <div id="page-wrapper" class="gray-bg">
          <%@ include file="common/head.jsp"%>
         
            <div class="wrapper wrapper-content">
                <div class="container">
                <div class="row">
		                <div class="ibox float-e-margins">
		                    <div>
		                        <div class="ibox-content no-padding border-left-right">
		                        </div>
		                        <div class="ibox-content profile-content row"  id="cover_pic"  style="background-repeat:no-repeat; background-size:100% 100%;-moz-background-size:100% 100%;" >
		                        <div class="col-md-2">
                                </div>
		                        <div class="col-md-8 text-center"   >
		                        
								<div class="input-group">
                                    <input type="text" placeholder="" name="search_key"  id="search_key" class="form-control input-lg" value="<%=keyword%>" >
                                    <div class="input-group-btn">
                                        <button class="btn btn-lg btn-primary" onclick="getMessageByKeyword()"type="submit">搜索</button>
                                    </div>
                                </div>

								</div>
								<div class="col-md-2 ">
								</div>
		                        		                          
		                        </div>
		                    </div>
		                </div>
                </div>
                <div class="row">
                            <div class="col-md-12">
                            <div class="col-md-1">
                            </div>
                            <div class="col-md-10 text-center">
                                 <button class="btn btn-white btn-md"  onclick="showTopic()"  type="button">话题<span id="topic_cnt">0</span></button>
                         
                                 <button class="btn btn-white btn-md"  onclick="showClass()"  type="button">班组<span id="class_cnt">0</span></button>
                        
                                 <button class="btn btn-white btn-md"  onclick="getTopicData(1)"  type="button">投票<span id="vote_cnt">0</span></button>
                           
                                 <button class="btn btn-white btn-md"  onclick="getTopicData(2)"  type="button">问卷调查<span id="search_cnt">0</span></button>
                           
                                 <button class="btn btn-white btn-md"  onclick="getTopicData(3)"  type="button">活动<span id="activity_cnt">0</span></button>
                            </div>
                            <div class="col-md-1">
                            </div>
                            </div>
                </div>
	             <hr>
	                <div class="col-lg-12">
	              
	                <div class="row">
					<div class="ibox" id="content">
	               
	               </div>
	
					</div>
	                
	                </div>
                </div>
         
            </div>
            
            <!-- 底部 -->
            
        </div>
    </div>
    
    <%-- <%@ include file="common/footer.jsp"%> --%>
</body>
<script   type="text/javascript" src="web/js/common.js?version=v1.0.0"></script>
<script   type="text/javascript" src="web/js/search.js?version=1.0.1"></script> 

</html>
